package team.shixi.houtai.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import team.shixi.houtai.entity.Order;

/**
 * @author Zhangrt
 * @Description
 * @create 2023-01-10 17:04
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    @Select("select * from ordersview")
    Page<Order> selectAllOrder(Page<Order> page, LambdaQueryWrapper<Order> queryWrapper);
}
